package social_network.dao;
import social_network.entities.User;
/**
 * 
 * @author Katerina Gluschenko
 */
public interface UserDao {
    User selectUserById(int id);
    User selectUserByEmail(String email);
    boolean addUser(User user);
    boolean deleteUserByID(int id);
    boolean updateUserInfo(Integer id, String nickName, String email, String password);
    boolean updateNickNameByID(Integer id, String nickName);
    boolean updatePasswordNameByID(Integer id, String password);
    
}
